package com.cetc.nsfx.entity;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;



public class SysPrivs implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 5110370670982102227L;
	private Long id;
	private String roleCode;
	private String resourceType;
	private String resourceCode;
	private String vview;
	private String imports;
	private String exportExcel;
	private String exportCsv;
	private String exportPdf;
	private String report;
	private String presPriv1;
	private String presPriv2;
	private String presPriv3;
	private String selectAllNode;
	private String reportView;
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getRoleCode() {
		return roleCode;
	}

	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode;
	}

	public String getResourceType() {
		return resourceType;
	}

	public void setResourceType(String resourceType) {
		this.resourceType = resourceType;
	}

	public String getResourceCode() {
		return resourceCode;
	}

	public void setResourceCode(String resourceCode) {
		this.resourceCode = resourceCode;
	}

	public String getVview() {
		return vview;
	}

	public void setVview(String vview) {
		this.vview = vview;
	}

	public String getImports() {
		return imports;
	}

	public void setImports(String imports) {
		this.imports = imports;
	}

	public String getExportExcel() {
		return exportExcel;
	}

	public void setExportExcel(String exportExcel) {
		this.exportExcel = exportExcel;
	}

	public String getExportCsv() {
		return exportCsv;
	}

	public void setExportCsv(String exportCsv) {
		this.exportCsv = exportCsv;
	}

	public String getExportPdf() {
		return exportPdf;
	}

	public void setExportPdf(String exportPdf) {
		this.exportPdf = exportPdf;
	}

	public String getReport() {
		return report;
	}

	public void setReport(String report) {
		this.report = report;
	}

	public String getPresPriv1() {
		return presPriv1;
	}

	public void setPresPriv1(String presPriv1) {
		this.presPriv1 = presPriv1;
	}

	public String getPresPriv2() {
		return presPriv2;
	}

	public void setPresPriv2(String presPriv2) {
		this.presPriv2 = presPriv2;
	}

	public String getPresPriv3() {
		return presPriv3;
	}

	public void setPresPriv3(String presPriv3) {
		this.presPriv3 = presPriv3;
	}

	public String getSelectAllNode() {
		return selectAllNode;
	}

	public void setSelectAllNode(String selectAllNode) {
		this.selectAllNode = selectAllNode;
	}
	
	public String getReportView() {
		return reportView;
	}

	public void setReportView(String reportView) {
		this.reportView = reportView;
	}
	
	public Map<String, Object> toMap(){
		Map<String, Object> rs = new HashMap<String, Object>();
		rs.put("id", this.getId());
		rs.put("roleCode", this.getRoleCode());
		rs.put("resourceType", this.getResourceType());
		rs.put("resourceCode", this.getResourceCode());
		rs.put("vview", this.getVview());
		rs.put("imports", this.getImports());
		rs.put("exportExcel", this.getExportExcel());
		rs.put("exportCsv", this.getExportCsv());
		rs.put("exportPdf", this.getExportPdf());
		rs.put("report", this.getReport());
		rs.put("presPriv1", this.getPresPriv1());
		rs.put("presPriv2", this.getPresPriv2());
		rs.put("presPriv3", this.getPresPriv3());
		rs.put("selectAllNode", this.getSelectAllNode());
		rs.put("reportView", this.getReportView());
		
		return rs;
	}

	
}
